#ifndef DRAWCOMMAND_H
#define DRAWCOMMAND_H

#include <QUndoCommand>

class IShape;

class DrawCommand : public QUndoCommand
{
public:
	DrawCommand(QWidget *pWdt, QList<IShape*> *listShape, IShape *pShape);
	void undo();
	void redo();

private:
	QWidget *m_pTargetWidget;
	QList<IShape *> *m_pListShape;
	IShape *m_pShape;
};

#endif // DRAWCOMMAND_H
